package com.lemongrass.meituan.core.common.configtabel.proto;

import com.lemongrass.meituan.core.common.configtabel.protodata.%ClassName%;
import com.lemongrass.meituan.core.common.configwork.ConfigManager;
import com.lemongrass.meituan.core.common.configwork.table.ProtoTable;

/**
 * %SheetName%
 **/

public class %ClassProtoName% extends ProtoTable<%ClassName%> {

	// 单例
	public static %ClassProtoName% getInstance() {
		if(Self == null) {
			Self = new %ClassProtoName%();
		}
		return Self;
	}

	private static %ClassProtoName% Self;

	public void init(){
		InitWithData(ConfigManager.getInstance().GetConfigFileData(%ClassName%.CLASS_NAME));
	}
}